import lejos.nxt.Button;
import lejos.nxt.Motor;

public class nxtMotors
{
  public static void main(String[] args) throws InterruptedException
  {
    System.out.println("NXT starts programme...");

    Motor.B.setSpeed(700);
    Motor.C.setSpeed(700);
    Motor.B.forward();
    Motor.C.forward();

    Button.waitForAnyPress();
  }
}